import type {TypeSumFunc} from "./01.T1ypeScript模块化";
import getSum = Sum.getSum;

export namespace Sum {
    export const getSum: TypeSumFunc = (num1: number, num2: number): number => {
        return num1 + num2
    }
}

const result: number = getSum(10, 20)
console.log(result)
